package com.wigem.fa.mapper;
import com.wigem.framework.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import  com.wigem.fa.vo.FaApplyFileVo;
import com.wigem.fa.entity.FaApplyFileEntity;

/**
 * 申请附件Mapper接口
 *
 * @author ls
 * @date 2024-11-01
 */
@Mapper
public interface FaApplyFileMapper extends BaseMapperX<FaApplyFileEntity> {

    /**
    * 查询FaApplyFile列表
    *
    */
    List<FaApplyFileEntity> getList(FaApplyFileVo faApplyFileVo);

    /**
     * 查询FaApplyFile实体
     *
     */
    FaApplyFileEntity getEntity(String id);

    /**
     * FaApplyFile新增
     *
     */
    int insert(FaApplyFileEntity faApplyFileentity);


    /**
     * FaApplyFile修改
     *
     */
    int update(FaApplyFileEntity faApplyFileentity);

    /**
     * FaApplyFile删除
     *
     */
    int delete(String id);


    int deleteAllByApplyId(FaApplyFileEntity faApplyFileentity);
    /**
     * FaApplyFile移除
     *
     */
    int remove(String id);
}
